package com.sharedmobility.model;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class User {
    private Integer id;
    private String username;
    private String phone;
    private String password;
    private BigDecimal balance;
    private Integer creditScore;
    private Timestamp createTime;
    private Integer status;
    private String role;
    private Boolean isAdmin;
    private Boolean isMaintenanceStaff;
    private Boolean isDriver;
    private Boolean isCustomerService;
    private Timestamp addtime;
    private String email;
    private String address;

    // Getters and Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getCreditScore() {
        return creditScore;
    }

    public void setCreditScore(Integer creditScore) {
        this.creditScore = creditScore;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Boolean getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Boolean isAdmin) {
        this.isAdmin = isAdmin;
    }

    public Boolean getIsMaintenanceStaff() {
        return isMaintenanceStaff;
    }

    public void setIsMaintenanceStaff(Boolean isMaintenanceStaff) {
        this.isMaintenanceStaff = isMaintenanceStaff;
    }

    public Boolean getIsDriver() {
        return isDriver;
    }

    public void setIsDriver(Boolean isDriver) {
        this.isDriver = isDriver;
    }

    public Boolean getIsCustomerService() {
        return isCustomerService;
    }

    public void setIsCustomerService(Boolean isCustomerService) {
        this.isCustomerService = isCustomerService;
    }

    public Timestamp getAddtime() {
        return addtime;
    }

    public void setAddtime(Timestamp addtime) {
        this.addtime = addtime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
} 